package com.space.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.space.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select name from test_user where id = #{id}")
    String getNamebyId(int id);
}
